package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Statement;
import cn.wolfcode.car.business.query.StatementQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

public interface IStatementService {
    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<Statement> query(StatementQuery qo);

    /**
     *  新增
     * @param statement
     */
    void save(Statement statement);

    /**
     * 批量删除
     * @param ids
     */
    void deleteBatch(String ids);

    /**
     * 编辑反显
     * @param id
     * @return
     */
    Statement get(Long id);

    /**
     * 编辑
     * @param statement
     */
    void update(Statement statement);

    /**
     * 软 批量删除
     * @param ids
     */
    void remove(Long[] ids);

    /**
     * 点击支付
     * @param statementId
     */
    void pay(Long statementId);

    /**
     * 预约单 点击结算单
     * @param appointmentId
     * @return
     */
    Long generateStatement(Long appointmentId);
}
